package com.tim.ying.java8.interfaceFunction;

@FunctionalInterface
public interface FunctionInterfaceSon extends FunctionInterfaceParent,FunctionInterfaceParent2 {
	public static void main(String[] args) {
		FunctionInterfaceSon son =(method,i)->{
			System.out.println(method);
			System.out.println(i);
			return 1;
		};
		System.out.println(son.method("method", 1));
	}
}
